package com.wey.thread;

public class Test1 {

    public static void main(String[] args) throws InterruptedException {
        TestObject testObject = new TestObject();
        testObject.start();
        testObject.join();
        int i = testObject.getI();
        System.out.println("i=" + i);
    }
}
